#include <linux/lockdep.h>

int lock_is_held_type(const struct lockdep_map *lock, int read)
{
    int ret = LOCK_STATE_NOT_HELD;
    // todo

    return ret;
}
